const WebpackConfigProduction = require("./webpack.config.prod");
module.exports = {
    ...WebpackConfigProduction,
    //关闭性嫩提示，这样就看不到警告了
    performance: {
        hints: false
    },
    devServer: {
        port: 9000,
        open: true,
        compress: true,
        liveReload: true,
        historyApiFallback: true,
        proxy: {
            "/api1":{
                target: "http://127.0.0.1:8000",
                pathRewrite: {
                    '^/api1': ''
                }
            }
        }
    }
}